package com.demo.service.serviceImpl;

import com.demo.dao.TabUsersAccHistoryDao;
import com.demo.model.BusUsersAccHistory;
import com.demo.model.TabUsersAcc;
import com.demo.model.TabUsersAccHistory;
import com.demo.service.TabUsersAccHistoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TabUsersAccHistoryServiceImpl implements TabUsersAccHistoryService {

    @Resource
    private TabUsersAccHistoryDao dao;

    @Override
    public void save(TabUsersAccHistory his) {
        dao.save(his);
    }

    @Override
    public List<BusUsersAccHistory> searchByPage_his(String loginname) {
        return dao.searchByPage_his(loginname);
    }

    @Override
    public TabUsersAcc findByuserid(String userid) {
        return dao.findByuserid(userid);
    }


}
